package pub.cleangao.codegen.enquiry.postgres;

import pub.cleangao.codegen.sqlexe.DbType;
import pub.cleangao.codegen.GenConfigHolder;
import pub.cleangao.codegen.enquiry.EnquiryService;
import pub.cleangao.codegen.enquiry.TableEnquiry;

public class PostgresEnquiryService implements EnquiryService {
    @Override
    public TableEnquiry getTableEnquiry(GenConfigHolder config) {
        return new PostgresTableEnquiry(config, new PostgresColumnEnquiry(config));
    }

    @Override
    public String signature() {
        return DbType.POSTGRE_SQL.getSignature();
    }
}
